import request from '@/utils/request'

export function financeAllSummary(query) {
  return request({
    url: '/finance/allSummary.json',
    method: 'get',
    params: query
  })
}

export function financeGroupSummary(query) {
  return request({
    url: '/finance/groupSummary.json',
    method: 'get',
    params: query
  })
}

export function financeGroupDetail(query) {
  return request({
    url: '/finance/groupDetail.json',
    method: 'get',
    params: query
  })
}

export function financeUserSummary(query) {
  return request({
    url: '/finance/userSummary.json',
    method: 'get',
    params: query
  })
}

export function financeUserDetail(query) {
  return request({
    url: '/finance/userDetail.json',
    method: 'get',
    params: query
  })
}
